﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNet.SignalR.Client;

namespace Cherrs.IM.Client
{
    public class BaseCon
    {
        internal IHubProxy ChatHub { get; set; }
        internal HubConnection hc { get; set; }
        public BaseCon(string ip)
        {
            hc = new HubConnection("http://" + ip);
            ChatHub = hc.CreateHubProxy("Chat");
        }
    }
}
